package com.mti;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import android.graphics.Bitmap;

public class CityWeather {
	/* Attributes */
	private String city;
	private Date date;
	private String condition;
	private int tempF;
	private int tempC;
	private String humidity;
	private String iconPath = "http://www.google.com";
	private Bitmap icon;
	private String windCondition;
	private List<Condition> previsions = new ArrayList<Condition>();
	
	/* Getter / Setter */
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	
	public String getCondition() {
		return condition;
	}
	public void setCondition(String condition) {
		this.condition = condition;
	}
	
	public int getTempF() {
		return tempF;
	}
	public void setTempF(int tempF) {
		this.tempF = tempF;
	}
	
	public int getTempC() {
		return tempC;
	}
	public void setTempC(int tempC) {
		this.tempC = tempC;
	}
	
	public String getHumidity() {
		return humidity;
	}
	public void setHumidity(String humidity) {
		this.humidity = humidity;
	}
	
	public String getIconPath() {
		return iconPath;
	}
	public void setIconPath(String iconPath) {
		this.iconPath += iconPath;
	}
	
	public Bitmap getIcon() {
		return icon;
	}
	public void setIcon(Bitmap icon) {
		this.icon = icon;
	}
	
	public String getWindCondition() {
		return windCondition;
	}
	public void setWindCondition(String windCondition) {
		this.windCondition = windCondition;
	}
	
	public List<Condition> getPrevisions() {
		return previsions;
	}
	public void setPrevisions(List<Condition> previsions) {
		this.previsions = previsions;
	}
	
	public List<Condition> getListCondition() {
		return previsions;
	}
	public void setListCondition(List<Condition> previsions) {
		this.previsions = previsions;
	}
	
	/* Constructor */
	public CityWeather() {}
	public CityWeather(String city, Date date, String condition, int tempF,
			int tempC, String humidity, String iconPath, String windCondition) {
		super();
		this.city = city;
		this.date = date;
		this.condition = condition;
		this.tempF = tempF;
		this.tempC = tempC;
		this.humidity = humidity;
		this.iconPath = iconPath;
		this.windCondition = windCondition;
	}
}
